<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="{{asset('bootstrap.min.css')}}">
    <link rel="stylesheet" href="{{asset('bootstrap-theme.min.css')}}">
    <style>
        #all{
            background: url(../loginImg/background.jpg);
            background-repeat:  no-repeat;
            background-size: 100% 100%;
            z-index: -999;
            width: 567px;
        }
        #banners{
            padding: 7px;
        }
        #ads{
            background: url(../loginImg/gg01.jpg);
            background-repeat:  no-repeat;
            background-position:  center;
            background-size: 100% 100%;
            width: 272px;
            height: 137px;
            padding-top: 36px;
            padding-right: 5px;
            margin-right: 8px;
            margin-top: 9px;
        }
        div{
            float: left;
        }
    </style>
</head>
<body oncontextmenu = "return false"  onselectstart = "return false"  oncopy = "return false" >
<div id="all">
    <div id="banners">
        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
        {{--<ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        </ol>--}}

        <!-- Wrapper for slides -->
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="{{asset('/loginImg/banner.jpg')}}" style=";width:273px;height: 138px">
                </div>
                {{--<div class="item">
                    <img src="{{asset('/loginImg/banner.jpg')}}" width="93%" style="padding-left: 5px;padding-top: 5px;padding-bottom: 5px;">
                </div>--}}
            </div>

            <!-- Controls -->
            {{--<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>--}}
        </div>
    </div>
    <div id="ads">
        @foreach($list as $value)
            <ul style="padding-left: 10px;line-height:12px;">
                <li style="list-style-type:none;">
                    <a href="/info{{$value->ad_id}}.html" target=_blank style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display: block;font-size: 12px">
                        @if($value->ad_floor == 1)
                            <span>一层侠众道</span>
                        @endif
                        @if($value->ad_floor == 2)
                            <span>二层重返</span>
                        @endif
                        @if($value->ad_floor == 3)
                            <span>三层神武</span>
                        @endif
                        @if($value->ad_floor == 4)
                            <span>怀旧千年壹</span>
                        @endif
                        @if($value->ad_floor == 5)
                            <span>神武奇章</span>
                        @endif
                        ：{{$value->ad_name}}
                    </a>
                </li>
            </ul>
        @endforeach
    </div>
</div>
</body>